package com.cloud.userservice;


public class CommonResult<T> {

    private String msg;
    private int code;
    private Object data;

    public CommonResult(String msg, int code) {
        this.code=code;
        this.msg=msg;
    }

    public CommonResult(Object data) {
        this.data=data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
